Release 10.1A: OpenEdge Development:
Progress 4GL Reference


END-ELEMENT( ) method

Ends an XML node based upon the name of the node with in a SAX-writer object.

Return type: LOGICAL

Applies to: SAX-writer object handle

Syntax
END-ELEMENT( name [, namespace-URI ] ) 

name

A LONGCHAR expression evaluating to the fully qualified or unqualified name of the element.

namespace-URI

A CHARACTER expression evaluating to the URI of the element. If the element doesn’t contain a namespace, it can evaluate to an empty string ("") or the Unknown value (?).

Ends an XML node and sets the WRITE-STATUS to SAX-WRITE-ELEMENT.

For every invocation of END-ELEMENT, there must be a preceding corresponding call of the START-ELEMENT method. All the parameter values must match for the methods to correspond. The method does not resolve namespaces. Instead, it matches the namespace against the corresponding START-ELEMENT value.

If the STRICT attribute is TRUE and the method does not match a preceding START-ELEMENT call, then the method fails.

See also

START-ELEMENT( ) method


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095